package messageMeServer.view;

import javax.swing.JFrame;
import javax.swing.JTextArea;

public class MainForm extends JFrame {
	private JTextArea textField;

	public MainForm() {
		this.setBounds(100, 100, 724, 505);
		getContentPane().setLayout(null);

		this.textField = new JTextArea();
		textField.setBounds(10, 11, 414, 240);
		getContentPane().add(textField);
		textField.setColumns(10);
	}

	public void appendText(String message) {
		this.textField.append(message + "\n");
	}
}
